package com.gopay.remote.cps.mail;

import com.gopay.common.domain.mail.Send;
import com.gopay.common.domain.mail.SendWithAttachment;

/**
 * 邮件发送服务远程接口
 * 
 * @MailRemoteService.java
 * @author yaobo
 * @2013-1-23 下午05:41:48 www.gopay.com.cn Inc.All rights reserved.
 */
public interface MailRemoteService {
    /**
     * 新增邮件发送服务
     * 
     * @param send
     *            发送邮件服务对象
     * @return
     */
    public int addMailTask(Send send);

    /**
     * 新增邮件(带附件)发送服务
     *
     * @param sendWithAttachment
     *            发送邮件服务对象
     * @return
     */
    public int addMailWithAttachmentTask(SendWithAttachment sendWithAttachment);
}
